package com.acmen.demo.enums;

import com.acmen.easyapi.annotation.EnumDesc;
import com.acmen.easyapi.annotation.EnumValue;

/**
 * @Author acmen
 * @Date 2023/6/13 10:31
 */
public enum SexEnum {
    MALE("male","男"),
    FEMALE("female","女");

    @EnumValue
    private final String value;
    @EnumDesc
    private final String desc;

    SexEnum(String value, String desc) {
        this.value = value;
        this.desc = desc;
    }


    public String getValue() {
        return this.value;
    }

    public String getDesc() {
        return desc;
    }
}
